package com.wish233.wiliwilisearch.utils;

import com.wish233.wiliwilisearch.domain.result.SearchResponse;
import com.wish233.wiliwilisearch.domain.result.SearchResponseWithDeepPage;

import java.util.Collections;

/**
 * @author WHH
 */
public class SearchUtils {
    public static SearchResponseWithDeepPage emptySearchResponseWithDeepPage() {
        return new SearchResponseWithDeepPage(Collections.emptyList(), 0, "");
    }

    public static SearchResponse emptySearchResponse() {
        return new SearchResponse(Collections.emptyList(), 0);
    }
}
